package com.example.lin.zyfypt_327ljd.service;;

import com.example.lin.zyfypt_327ljd.bean.ProjectBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;


/**
 * Created by lin on 2017/4/18.
 */

public interface ProjectService {
    @GET("api.php/lists/mod/{mod}")
    Call<List<ProjectBean>> getResult(@Path("mod") String mod,//给到网址上
                                      @Query("page") int page,
                                      @Header("SessionID") String SessionID
    );
}
